import request from 'UTIL/request'

/**
 * 公海客户列表
 * @param {*} data
 */
export function PoolList(data) {
  return request({
    url: 'crmCustomerPool/queryPageList',
    method: 'POST',
    data: data
  })
}

/**
 * 公海客户删除
 * @param {*} data
 */
export function DeleteByIds(data) {
  return request({
    url: 'crmCustomerPool/deleteByIds',
    method: 'POST',
    data: data
  })
}

/**
 * 公海名称
 * @param params
 */
export function PoolNameList(params) {
  return request({
    url: 'crmCustomerPool/queryPoolNameListByAuth',
    method: 'POST',
    data: params
  })
}

/**
 * 公海自定义字段
 * @param params
 */
export function QueryPoolField(params) {
  return request({
    url: 'crmCustomerPool/queryPoolField',
    method: 'POST',
    data: params,
		requestType: 'form'
  })
}


